package com.foreknow.oop;

import java.util.Scanner;

public class TestStudent {
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.setName("fender");
        s1.setAge(30);
        s1.setSex(true);
        String name = s1.getName();
        int age = s1.getAge();

        System.out.println(name+"---"+age);



        /*s1.name = "fender";
        s1.age = 35;
        System.out.println(s1.name+"---"+s1.age);
        s1.game();*/

    }
}
